<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #main {
            width: 700px;
            height: 500px;
        }
    </style>
</head>
<body>

<div id="main"></div>

<script src="http://lib.baomitu.com/echarts/4.7.0/echarts.min.js">

</script>

<script>
    const myChart = echarts.init(document.getElementById('main'))

    const option = {

        visualMap: {
            min: 30,
            max: 50,
        },

        series: {
            type: 'pie',
            data: [
                {name: 'java', value: 30},
                {name: 'go', value: 50},
                {name: 'html', value: 10},
                {name: 'js', value: 40},
            ],
            roseType: 'radius',
            // radius: '80%',
            // radius: ['50%', '80%'],
            itemStyle: {}
        }
    }

    myChart.setOption(option)
</script>
</body>
</html>
